var Get;

Get = function () {
    this.get = function (url, callback, errCallback) {
        var xhr;
        xhr = new XMLHttpRequest();
        xhr.open("GET", url, true);
        xhr.onreadystatechange = function () {
            if (xhr.readyState != 4) {
                return;
            }
            if (xhr.status == 200) {
                callback(xhr.responseText);
            } else {
                errCallback(xhr);
            }
        };
        xhr.send(null);
    };
};
